package com.young.ums.model;

import com.young.common.core.excel.ExcelColumn;
import java.util.Date;
/**
* 登录认证会话信息实体类
* Created by imrookie on 2018-9-15.
*/
public class SsoSession{

    @ExcelColumn(value = "主键", order = 1)
    private String id;//主键
    @ExcelColumn(value = "用户ID", order = 2)
    private String userId;//用户ID
    @ExcelColumn(value = "设备类型，IOS/ANDROID/WINDOWSPHONE/H5", order = 3)
    private String deviceType;//设备类型，IOS/ANDROID/WINDOWSPHONE/H5
    @ExcelColumn(value = "设备版本号,例如：8.1", order = 4)
    private String deviceVersion;//设备版本号,例如：8.1
    @ExcelColumn(value = "令牌", order = 5)
    private String token;//令牌
    @ExcelColumn(value = "令牌签发时间", order = 6)
    private Date signTime;//令牌签发时间
    private Date signTime2;//令牌签发时间,按时间检索时作为结束时间使用
    @ExcelColumn(value = "令牌过期时间", order = 7)
    private Date expireTime;//令牌过期时间
    @ExcelColumn(value = "客户端IP", order = 8)
    private String clientIp;//客户端IP
    @ExcelColumn(value = "服务器IP", order = 9)
    private String serverIp;//服务器IP
    @ExcelColumn(value = "状态，1为可用，0为不可用", order = 10)
    private Integer status;//状态，1为可用，0为不可用

    private String orderBy;//排序字段
    private String orderType;//排序类型,升序asc/降序desc

    public SsoSession(){
        super();
    }

    public String getId() {
    return id;
    }
    public void setId(String id) {
    this.id = id;
    }
    public String getUserId() {
    return userId;
    }
    public void setUserId(String userId) {
    this.userId = userId;
    }
    public String getDeviceType() {
    return deviceType;
    }
    public void setDeviceType(String deviceType) {
    this.deviceType = deviceType;
    }
    public String getDeviceVersion() {
    return deviceVersion;
    }
    public void setDeviceVersion(String deviceVersion) {
    this.deviceVersion = deviceVersion;
    }
    public String getToken() {
    return token;
    }
    public void setToken(String token) {
    this.token = token;
    }
    public Date getSignTime() {
    return signTime;
    }
    public void setSignTime(Date signTime) {
    this.signTime = signTime;
    }
    public Date getSignTime2() {
    return signTime2;
    }
    public void setSignTime2(Date signTime2) {
    this.signTime2 = signTime2;
    }
    public Date getExpireTime() {
    return expireTime;
    }
    public void setExpireTime(Date expireTime) {
    this.expireTime = expireTime;
    }
    public String getClientIp() {
    return clientIp;
    }
    public void setClientIp(String clientIp) {
    this.clientIp = clientIp;
    }
    public String getServerIp() {
    return serverIp;
    }
    public void setServerIp(String serverIp) {
    this.serverIp = serverIp;
    }
    public Integer getStatus() {
    return status;
    }
    public void setStatus(Integer status) {
    this.status = status;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

}